import axios from "@/utils/axios";
export default {
  getmenu: (userTel) => axios.post("/orgnizations/selMenu", userTel),
  // login: (user) => axios.post(`/users/login?userTel=${user.userTel}&userPaw=${user.userPaw}` ),
  login: (user) => axios.post(`/users/login?${user}`),
  register: (data) => axios.post("/users/register", data),
  getcode: (userTel) => axios.get(`/users/${userTel}`),
  group: () => axios.get("/users/groupByLocation"),
  log:(data)=>axios.post('/orgnizations/selAllOperate',data),
  resetpwd:(data)=>axios.put("/users/updatePaw",data),
  news:(data)=>axios.post("/news/selAllNews",data),
  competes:(data)=>axios.post("/Competes/selectAllOnlineByType",data),
  selAllAdvice:(data)=>axios.post("/advices/selAllAdvice",data),

  
};
